@protocol SlideshowViewControllerDelegate;
@class SlideshowView;

@interface SlideshowViewController : UIViewController
{
    id<SlideshowViewControllerDelegate> delegate;
    BOOL dataReloadPending;
    BOOL isVisible;
    SlideshowView *slideshowView;
    int selectedPhotoIndex;
    UIBarButtonItem *leftArrow;
    UIBarButtonItem *rightArrow;
}

- (id)initWithDelegate:(id<SlideshowViewControllerDelegate>)_delegate;

- (void)reloadData;
- (void)fetchedPhoto:(UIImage *)photo atIndex:(int)index;
- (void)showPhotoAtIndex:(int)index;

// Private

- (void)didNavigate;
- (void)showPrevPhoto;
- (void)showNextPhoto;
- (void)scrolledToIndex:(int)index;

@end
